package App.Model.Account;

import org.omg.CORBA.PUBLIC_MEMBER;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by xw on 2019/4/28.
 */


@Component
@PropertySource("classpath:bootstrap.yml")
@ConfigurationProperties(prefix = "project.securitys")
public class AccountConfig {

    public String getPasswordsalt() {
        return passwordsalt;
    }

    public void setPasswordsalt(String passwordsalt) {
        this.passwordsalt = passwordsalt;
    }

    public RASKeys getRasKeys() {
        return rasKeys;
    }

    public void setRasKeys(RASKeys rasKeys) {
        this.rasKeys = rasKeys;
    }

    private String passwordsalt = "fd87e374ba4b28deb4c45ea76b3e89bc";
    private RASKeys rasKeys;


    private class RASKeys {

        public String getPublickey() {
            return publickey;
        }

        public void setPublickey(String publickey) {
            this.publickey = publickey;
        }

        public String getPrivatekey() {
            return privatekey;
        }

        public void setPrivatekey(String privatekey) {
            this.privatekey = privatekey;
        }

        private String publickey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCbOmYxDWw+6ohQjht0Lg9vKUbrVMU8bGAZldt+MM69OzWXdTGpHRMdcQKEDV4W3J4uZrGRKN4Sci7yV5ctHfqzemGjguBZ5ItkDQ88lGYz1PtNT0DQ5y/sB0hcgBA2Leap+ORgUQLk2bWroxvj/bX31AzXDJSqIhWBd7QRTvkAcwIDAQAB";
        private String privatekey = "MIICXAIBAAKBgQCbOmYxDWw+6ohQjht0Lg9vKUbrVMU8bGAZldt+MM69OzWXdTGpHRMdcQKEDV4W3J4uZrGRKN4Sci7yV5ctHfqzemGjguBZ5ItkDQ88lGYz1PtNT0DQ5y/sB0hcgBA2Leap+ORgUQLk2bWroxvj/bX31AzXDJSqIhWBd7QRTvkAcwIDAQABAoGBAIBtisseveY4CNwNFu3ChgaEciaWFjFtwPyqHdWD8Chj6m0LCzFN2tjK/TfgD25+zWi6kkL1Ovar/eeHTI6JdTbo8P18WpdGgDvtGbzAVKDYL96Tn8zq5TBujZ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